﻿using Xejen.Ipc.Framework;
using System;
using System.Collections.Generic;
using System.Text;

namespace Xejen.Hosting
{
    /// <summary>
    /// 表示工业控制流程的构建器
    /// </summary>
    /// <creator>marc</creator>
    public interface IIpcBuilder
    {
        /// <summary>
        /// 配置Ipc参数
        /// </summary>
        /// <param name="configure">配置函数</param>
        /// <returns></returns>
        IIpcBuilder ConfigureIpcConfiguration(Action<IpcHostConfig> configure);
        /// <summary>
        /// 添加Ipc工业控制流程的主机
        /// </summary>
        /// <returns></returns>
        IIpcBuilder AddIpcHost();
    }
}
